package dao;

import domain.Major;

import java.sql.SQLException;
import java.util.List;


public interface IMajorDao {
 int addMajor(Major major) throws SQLException;

 int delMajor(Major major) throws SQLException;

 int updMajor(Major major) throws SQLException;

 List<Major> selMajor(Major major)throws SQLException;

}
